package com.huchao.www.pojo;

import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @BelongsProject: springMVC
 * @BelongsPackage: com.huchao.www.pojo
 * @Author: 亖思
 * @CreateTime: 2022/12/4 9:36
 * @Version: 1.0
 */

@Data
public class AdminInfo {
    Long adminId;
    String loginName;
    String password;
    String phone;
    String email;
    String profile;
    Date createTime;
    String status;
    int delStatus;
    Date delTime;

    public String getStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        if(status){
            this.status = "已启用";
        }else{
            this.status = "已停用";
        }
    }
}
